package com.middlegroup.common.annotation;
 
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 掩码注解
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SensitiveField {
 
	SensitiveTypeEnum value() default SensitiveTypeEnum.IDCARD;
 
    enum SensitiveTypeEnum {
        IDCARD,
        BANKCARD,
        MOBILE,
        EMAIL,
        NAME,
        CVV;
    }
    
}